﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Pages_Public_Login" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageHeader" Runat="Server">
    <style type="text/css">
        .SectionHeading        
        {        
        	font-weight:bold;
        	margin-top:10px;
        }       
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageBody" Runat="Server">   
    <h4>Member Login</h4>
    <div>
        <%--Left Column Box Start--%>
        <div id="divLeftColumn" runat="server" class="floatleft" style="width:50%; ">            
            <%--<UC:PerformanceSummary ID="ucPerformanceSummary" runat="server" />--%>
        </div>      
        
        <%--Login Box Start--%>
                                                                                                                                                                                                                                    <div id="divRightColumn" runat="server" class="floatright" style="width:49%;">        
        <div class="GroupBox">            
            <div class="GroupHeaderOverlay">Member Login</div>
            <%--<div>
                Only registered McAID users can Log In to the online McAID System.
            </div>--%>
            <div style="height:25px;">
                <div id="divErrorMessage" class="ErrorMessageBox" runat="server" visible="false" enableviewstate="false"></div>
            </div>
            <table align="center" border="0" cellpadding="2" cellspacing="0" style="width:100%;">                
                <colgroup>
                    <col style="width:32%;" />
                    <col />
                </colgroup>
                <tr>
                    <td colspan="2" style="padding-bottom:5px;">
                        If you Registered as an <b>Individual</b> then give your Email as User Name.
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="txtUserName">User Name</asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtUserName" runat="server" MaxLength="256"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                            ControlToValidate="txtUserName" 
                            SetFocusOnError="true" Display="Dynamic"
                            ErrorMessage="Enter a User Name." 
                            ValidationGroup="Login1">
                        </asp:RequiredFieldValidator>                                        
                    </td>
                </tr>                
                <tr>
                    <td>
                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="txtPassword">Password</asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" MaxLength="256"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                            ControlToValidate="txtPassword" SetFocusOnError="true" Display="Dynamic"
                            ErrorMessage="Enter a Password."                             
                            ValidationGroup="Login1">
                        </asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:CheckBox ID="chkRememberMe" runat="server" Text="Remember me next time." />
                    </td>
                </tr>                    
                <tr>
                    <td><a href="/Pages/Public/ForgotPassword.aspx">Forgot Password?</a></td>
                    <td align="left">
                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" CssClass="ButtonCommon" 
                            ValidationGroup="Login1" onclick="LoginButton_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
        <%--Login Box End--%>
        <div class="clearboth"></div>   
    </div>
</asp:Content>

